import _regeneratorRuntime from "@babel/runtime/regenerator";
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
import { setComponent } from 'cpaas-front/lib/customize/cmsg';
import { dynamicWrapper } from "../utils/router/utils";
setComponent('UserReceiveConfigRoute', /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
  return _regeneratorRuntime.wrap(function _callee$(_context) {
    while (1) {
      switch (_context.prev = _context.next) {
        case 0:
          return _context.abrupt("return", // TODO: there is use global vari dvaApp
          dynamicWrapper(window.dvaApp, ['userReceiveConfig'], function () {
            return import("../routes/UserReceiveConfig");
          }));

        case 1:
        case "end":
          return _context.stop();
      }
    }
  }, _callee);
})));